<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset="utf-8">
<title>咪咕音乐 | 留存执行情况</title>
<@fm.header />
<script>
function doSearch(){    
    $('#tt').datagrid('load', {    
        sname: $('#sname').val(),
        startTime: $('#startTime').datetimebox('getValue'),
        endTime: $('#endTime').datetimebox('getValue')
    });
}
function formatDoNum (value,row,index) {
    return row.issueNum + "|" + row.doNum;
}
</script>
</head>
<body class="cmp-list-body">
<div id="tb" style="padding:3px">
    <span>关键字:</span>
    <input id="sname" style="line-height:20px;border:1px solid #ccc">
    
    <span>时间:</span>
    <input type="text" class="easyui-datebox" id="startTime" />至
    <input type="text" class="easyui-datebox" id="endTime" />
    <a href="#" class="easyui-linkbutton" iconCls="icon-search" plain="true" onclick="doSearch();">查询</a> 
    
</div>
<table id="tt" class="easyui-datagrid" title="咪咕视频留存执行情况" iconCls="icon-save" 
	url="/miguVideoSearch/retentTaskExecListJson" toolbar="#tb" rownumbers="true" idField="id"
	singleSelect="true" pagination="true" fitColumns="true" pageSize="15" pageList="[15,30,60,80,100]"> 
    <thead>
        <tr>
        	<th align="center" width="20%" field="name">名称</th>
            <th align="center" width="15%" field="channelId">渠道号</th>
            <th align="center" width="15%" field="version">版本</th>
            <th align="center" width="15%" field="rd">日期</th>
            <th align="center" width="15%" field="issueNum" formatter="formatDoNum">留存执行量</th>
            <th align="center" width="10%" field="blNum">补量执行量</th>
        </tr>
    </thead>   
</table>
</body>
</html>